package com.ruoyi.system.dto;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class AliyunSmsDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String templateCode;
    @NotNull(message = "手机号不能为空")
    private String phoneNumbers;
    private String templateParam;

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    public String getPhoneNumbers() {
        return phoneNumbers;
    }

    public void setPhoneNumbers(String phoneNumbers) {
        this.phoneNumbers = phoneNumbers;
    }

    public String getTemplateParam() {
        return templateParam;
    }

    public void setTemplateParam(String templateParam) {
        this.templateParam = templateParam;
    }

    @Override
    public String toString() {
        return "AliyunSmsDTO{" +
                "templateCode='" + templateCode + '\'' +
                ", phoneNumbers='" + phoneNumbers + '\'' +
                ", templateParam='" + templateParam + '\'' +
                '}';
    }
}
